//
//  GLGWTextView.m
//  GLGW_Shoping
//
//  Created by yang on 2018/11/28.
//  Copyright © 2018年 yang. All rights reserved.
//

#import "GLGWTextView.h"

@implementation GLGWTextView

-(id)initInSuperView:(UIView *)aSuperView{
    if (self = [super init]) {
        [aSuperView addSubview:self];
    }
    return self;
}

-(id)initWithFrame:(CGRect)aFrame inSuperView:(UIView *)aSuperView{
    if (self = [self initInSuperView:aSuperView]) {
        self.frame = aFrame;
    }
    return self;
}

-(id)initWithFontType:(UIFont *)aFontType colorType:(UIColor *)aColorType inSuperView:(UIView *)aSuperView{
    if (self = [self initInSuperView:aSuperView]) {
        self.font = aFontType;
        self.textColor = aColorType;
    }
    return self;
}

-(id)initWithFrame:(CGRect)aFrame fontType:(UIFont *)aFontType colorType:(UIColor *)aColorType inSuperView:(UIView *)aSuperView{
    if (self = [self initWithFontType:aFontType colorType:aColorType inSuperView:aSuperView]) {
        self.frame = aFrame;
    }
    return self;
}

@end
